﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace StatsData.Data.Migrations
{
    public partial class add_columns_t_department : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<bool>(
                name: "IS_LINE",
                table: "T_DEPARTMENT",
                type: "NUMBER(1)",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<int>(
                name: "LEVEL",
                table: "T_DEPARTMENT",
                type: "NUMBER(10)",
                nullable: false,
                defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "IS_LINE",
                table: "T_DEPARTMENT");

            migrationBuilder.DropColumn(
                name: "LEVEL",
                table: "T_DEPARTMENT");
        }
    }
}
